<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<section class="sidebar">
    <%--<div class="user-panel">
        <div class="pull-left image">
            <img data-href="#" data-title="个人中心" class="addTabPage img-circle"
                 src="<c:url value="/resources/base/images/logo.png"/>">
        </div>
        <div class="pull-left info">
            <p>admin</p>
            <a href="javascript:;"><i class="fa fa-circle text-success"></i> 在线</a>
            <a href="<c:url value="/security/loginout.action"/>"><i class="fa fa-sign-out text-danger"></i> 注销</a>
        </div>
    </div>--%>

    <ul class="sidebar-menu tree" data-widget="tree">
        <sec:authorize access="hasAnyRole({'ROLE_ADMIN_ENTERPRISE_LIST','ROLE_ADMIN_ENTERPRISE_EDIT'})">
            <li class="treeview">
                <a title="企业管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-university"></i> <span>企业管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="treeview">
                        <a title="企业管理"
                           data-href="<c:url value="/web/admin/enterprise/list.action" />"
                           href="javascript:;" class="addTabPage"> <i class="fa"></i>
                            <span>企业管理</span>
                        </a>
                    </li>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_ADMIN_PERSONNEL_LIST','ROLE_ADMIN_ORGANIZATION_LIST','ROLE_ADMIN_ORGANIZATION_EDIT','ROLE_ADMIN_PERSONNEL_EDIT','ROLE_ADMIN_POSITION_LIST','ROLE_ADMIN_POSITION_EDIT'})">
            <li class="treeview">
                <a title="通讯录管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-bars"></i> <span>通讯录管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                        <%-- <li class="treeview">
                             <a title="组织管理" data-href="<c:url value="/web/admin/organization/list.action" />"
                                href="javascript:;" class="addTabPage"> <i class="fa fa-fw icon-user"></i> <span>组织管理</span>
                             </a>
                         </li>--%>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ADMIN_PERSONNEL_LIST','ROLE_ADMIN_PERSONNEL_EDIT','ROLE_ADMIN_ORGANIZATION_LIST','ROLE_ADMIN_ORGANIZATION_EDIT'})">
                        <li class="treeview">
                            <a title="部门管理"
                               data-href="<c:url value="/web/admin/personnel/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i>
                                <span>部门管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ADMIN_POSITION_LIST','ROLE_ADMIN_POSITION_EDIT'})">
                        <li class="treeview">
                            <a title="岗位管理"
                               data-href="<c:url value="/web/admin/position/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i>
                                <span>岗位管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_ADMIN_ENTERPRISE_SYSTEM_USER_LIST','ROLE_ADMIN_ENTERPRISE_SYSTEM_USER_EDIT','ROLE_ADMIN_SYSTEM_USER_LIST','ROLE_ADMIN_SYSTEM_USER_EDIT','ROLE_ADMIN_ENTERPRISE_ROLE_LIST','ROLE_ADMIN_ENTERPRISE_ROLE_EDIT'})">
            <li class="treeview">
                <a title="用户管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw icon-people"></i> <span>用户管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ADMIN_ENTERPRISE_SYSTEM_USER_LIST','ROLE_ADMIN_ENTERPRISE_SYSTEM_USER_EDIT'})">
                        <li class="treeview">
                            <a title="用户管理"
                               data-href="<c:url value="/web/admin/enterprise/sytemuser/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i>
                                <span>用户管理</span>
                            </a>
                        </li>
                    </sec:authorize>

                    <sec:authorize
                            access="hasAnyRole({'ROLE_ADMIN_ENTERPRISE_ROLE_LIST','ROLE_ADMIN_ENTERPRISE_ROLE_EDIT'})">
                        <li class="treeview">
                            <a title="角色管理"
                               data-href="<c:url value="/web/admin/systemRole/getSystemRoleListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>角色管理</span>
                            </a>
                        </li>
                    </sec:authorize>

                        <%--<li class="treeview">
                            <a title="权限管理"
                               data-href="<c:url value="/web/admin/systemAuthority/getSystemAuthorityListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i>
                                <span>权限管理</span>
                            </a>
                        </li>--%>

                    <sec:authorize
                            access="hasAnyRole({'ROLE_ADMIN_SYSTEM_USER_LIST','ROLE_ADMIN_SYSTEM_USER_EDIT'})">

                        <li class="treeview">
                            <a title="平台用户管理"
                               data-href="<c:url value="/web/admin/systemUser/getSystemUserListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>平台用户管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                        <%--  <li class="treeview">
                              <a title="模块管理"
                                 data-href="<c:url value="/web/admin/systemModule/getSystemModuleListPage.action" />"
                                 href="javascript:;" class="addTabPage"> <i class="fa fa-fw icon-social-dropbox"></i>
                                  <span>模块管理</span>
                              </a>
                          </li>--%>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize access="hasAnyRole({'ROLE_ENTERPRISE_AREA_LIST','ROLE_ENTERPRISE_AREA_EDIT'})">
            <li class="treeview">
                <a title="区域管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw icon-screen-desktop"></i> <span>区域管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize access="hasAnyRole({'ROLE_ENTERPRISE_AREA_LIST','ROLE_ENTERPRISE_AREA_EDIT'})">
                        <li class="treeview">
                            <a title="区域管理"
                               data-href="<c:url value="/web/admin/area/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> </i>
                                <span>区域管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_GROUP_EDIT','ROLE_ENTERPRISE_FACILITY_GROUP_LIST','ROLE_ENTERPRISE_FACILITY_CAT_EDIT','ROLE_ENTERPRISE_FACILITY_CAT_LIST','ROLE_ENTERPRISE_FACILITY_EDIT','ROLE_ENTERPRISE_FACILITY_LIST','ROLE_ENTERPRISE_FACILITY_IMPORT_EDIT','ROLE_ENTERPRISE_FACILITY_IMPORT_LIST'})">
            <li class="treeview">
                <a title="设施设备" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw fa-cogs"></i> <span>设施设备</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_EDIT','ROLE_ENTERPRISE_FACILITY_LIST'})">
                        <li class="treeview">
                            <a title="设备管理"
                               data-href="<c:url value="/web/admin/facility/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> </i>
                                <span>设备管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_IMPORT_EDIT','ROLE_ENTERPRISE_FACILITY_IMPORT_LIST'})">
                        <li class="treeview">
                            <a title="批量导入设备"
                               data-href="<c:url value="/web/admin/facilityImport/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> </i>
                                <span>批量导入设备</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_CAT_EDIT','ROLE_ENTERPRISE_FACILITY_CAT_LIST'})">
                        <li class="treeview">
                            <a title="设备类型管理"
                               data-href="<c:url value="/web/admin/facilityCat/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i>
                                <span>设备类型管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_GROUP_EDIT','ROLE_ENTERPRISE_FACILITY_GROUP_LIST'})">
                        <li class="treeview">
                            <a title="设备分组管理"
                               data-href="<c:url value="/web/admin/facilityGroup/list.action" />"
                               href="javascript:;" class="addTabPage"><i class="fa"></i>
                                <span>设备分组管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_DATA_LIST','ROLE_ENTERPRISE_FACILITY_DATA_EDIT','ROLE_ENTERPRISE_DATA_CAT_LIST','ROLE_ENTERPRISE_DATA_CAT_EDIT',
                'ROLE_ENTERPRISE_FACILITY_DATA_LOG_LIST','ROLE_ENTERPRISE_DATA_CAT_LOG_LIST'})">
            <li class="treeview">
                <a title="设备资料库" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw icon-layers"></i> <span>设备资料库</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_DATA_LIST','ROLE_ENTERPRISE_FACILITY_DATA_EDIT'})">
                        <li class="treeview">
                            <a title="资料管理" data-href="<c:url value="/web/admin/facilityData/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>资料管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_DATA_CAT_LIST','ROLE_ENTERPRISE_DATA_CAT_EDIT'})">
                        <li class="treeview">
                            <a title="资料类型管理" data-href="<c:url value="/web/admin/dataCat/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>资料类型管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_FACILITY_DATA_LOG_LIST'})">
                        <li class="treeview">
                            <a title="资料日志管理" data-href="<c:url value="/web/admin/facilityDataLog/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>资料日志管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_DATA_CAT_LOG_LIST'})">
                        <li class="treeview">
                            <a title="资料类型日志管理" data-href="<c:url value="/web/admin/dataCatLog/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>资料类型日志管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>
        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_AUDIT_FLOW_LIST'})">
            <li class="treeview">
                <a title="审批流管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw icon-graph"></i> <span>审批流管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="treeview">
                        <a title="应用管理" data-href="<c:url value="/web/admin/application/list.action" />"
                           href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>应用管理</span>
                        </a>
                    </li>

                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_AUDIT_FLOW_LIST'})">

                        <li class="treeview">
                            <a title="审批流管理" data-href="<c:url value="/web/admin/auditFlow/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批流管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>

        </sec:authorize>

        <!--任务单管理暂时不在菜单栏显示-->
        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_TASK_ORDER_LIST','ROLE_ENTERPRISE_TASK_ORDER_EDIT','ROLE_ENTERPRISE_TASK_ORDER_AUDIT_LIST','ROLE_ENTERPRISE_TASK_ORDER_AUDIT_EDIT','ROLE_ENTERPRISE_TASK_AUDIT_RECORD_LIST'})">
        <li class="treeview">
            <a title="任务单管理" href="javascript:;" data-href="blank" class="addTabPage">
                <i class="fa fa-fw fa-tasks"></i> <span>任务单管理</span>
                <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
            </a>
            <ul class="treeview-menu" style="display: none;">
                <sec:authorize
                        access="hasAnyRole({'ROLE_ENTERPRISE_TASK_ORDER_LIST','ROLE_ENTERPRISE_TASK_ORDER_EDIT'})">
                    <li class="treeview">
                        <a title="任务单管理" data-href="<c:url value="/web/admin/taskOrder/list.action" />"
                           href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>任务单管理</span>
                        </a>
                    </li>
                </sec:authorize>
                <sec:authorize
                        access="hasAnyRole({'ROLE_ENTERPRISE_TASK_ORDER_AUDIT_LIST','ROLE_ENTERPRISE_TASK_ORDER_AUDIT_EDIT'})">
                    <li class="treeview">
                        <a title="审批管理" data-href="<c:url value="/web/admin/taskOrderAudit/list.action" />"
                           href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批管理</span>
                        </a>
                    </li>
                </sec:authorize>
                <sec:authorize
                        access="hasAnyRole({'ROLE_ENTERPRISE_TASK_AUDIT_RECORD_LIST'})">
                    <li class="treeview">
                        <a title="审批记录" data-href="<c:url value="/web/admin/taskAuditRecord/list.action" />"
                           href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批记录</span>
                        </a>
                    </li>
                </sec:authorize>
            </ul>
        </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_REPAIR_ORDER_LIST','ROLE_ENTERPRISE_REPAIR_ORDER_EDIT','ROLE_ENTERPRISE_TROUBLE_CAT_LIST','ROLE_ENTERPRISE_TROUBLE_CAT_EDIT','ROLE_ENTERPRISE_REPAIR_ORDER_AUDIT_LIST','ROLE_ENTERPRISE_REPAIR_ORDER_AUDIT_EDIT'})">
            <li class="treeview">
                <a title="维修管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw fa-wrench"></i> <span>维修管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_REPAIR_LEVEL_LIST','ROLE_ENTERPRISE_REPAIR_LEVEL_EDIT'})">
                        <li class="treeview">
                            <a title="紧急程度管理" data-href="<c:url value="/web/admin/repairLevel/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>紧急程度管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_REPAIR_ORDER_LIST','ROLE_ENTERPRISE_REPAIR_ORDER_EDIT'})">
                        <li class="treeview">
                            <a title="维修单管理" data-href="<c:url value="/web/admin/repairOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>维修单管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_TROUBLE_CAT_LIST','ROLE_ENTERPRISE_TROUBLE_CAT_EDIT'})">
                        <li class="treeview">
                            <a title="故障分类" data-href="<c:url value="/web/repair/troubleCat/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>故障分类</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_REPAIR_ORDER_AUDIT_LIST','ROLE_ENTERPRISE_REPAIR_ORDER_AUDIT_EDIT'})">
                        <li class="treeview">
                            <a title="审批管理" data-href="<c:url value="/web/admin/repairOrderAudit/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>
        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_PLANNER_ORDER_LIST','ROLE_ENTERPRISE_MAINTAINING_WORKING_HOURS_LIST','ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_TECHNOLOGY_LIST','ROLE_ENTERPRISE_MAINTAINING_APPLICATION_SCENARIOS_LIST',
                'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_ORDER_LIST','ROLE_ENTERPRISE_MAINTAINING_PLANNER_LOG_LIST','ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_ORDER_LOG_LIST',
                'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_ORDER_AUDIT_LIST','ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_APPLY_LIST','ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_AUDIT_LIST'})">
            <li class="treeview">
                <a title="维护保养" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw fa-gavel"></i> <span>维护保养</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_PLANNER_ORDER_LIST'})">
                        <li class="treeview">
                            <a title="计划工单" data-href="<c:url value="/web/admin/plannerOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>计划工单</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_PLANNER_LOG_LIST'})">
                        <li class="treeview">
                            <a title="计划操作日志" data-href="<c:url value="/web/admin/plannerLog/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>计划操作日志</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_WORKING_HOURS_LIST'})">
                        <li class="treeview">
                            <a title="工时管理" data-href="<c:url value="/web/admin/workingHours/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工时管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_TECHNOLOGY_LIST'})">
                        <li class="treeview">
                            <a title="工艺管理" data-href="<c:url value="/web/admin/maintainTechnology/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工艺管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                        <%--<sec:authorize--%>
                        <%--access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_APPLICATION_SCENARIOS_LIST'})">--%>
                        <%--<li class="treeview">--%>
                        <%--<a title="应用场景" data-href="<c:url value="/web/admin/applicationScenarios/list.action" />"--%>
                        <%--href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>应用场景</span>--%>
                        <%--</a>--%>
                        <%--</li>--%>
                        <%--</sec:authorize>--%>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_ORDER_LIST'})">
                        <li class="treeview">
                            <a title="工单管理" data-href="<c:url value="/web/admin/maintainOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工单管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_ORDER_LOG_LIST'})">
                        <li class="treeview">
                            <a title="工单操作日志" data-href="<c:url value="/web/admin/maintainLog/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工单操作日志</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_ORDER_AUDIT_LIST'})">
                        <li class="treeview">
                            <a title="审批列表" data-href="<c:url value="/web/admin/maintainOrder/auditList.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批列表</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_APPLY_LIST'})">
                        <li class="treeview">
                            <a title="申请记录" data-href="<c:url value="/web/admin/applyOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>申请记录</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_MAINTAINING_MAINTAIN_AUDIT_LIST'})">
                        <li class="treeview">
                            <a title="审核记录" data-href="<c:url value="/web/admin/auditOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审核记录</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INSPECTION_TECHNOLOGY_LIST','ROLE_ENTERPRISE_INSPECTION_PLANNER_ORDER_LIST','ROLE_ENTERPRISE_INSPECTION_INSPECTION_ORDER_LIST','ROLE_ENTERPRISE_INSPECTION_INSPECTION_ORDER_LOG_LIST',
                'ROLE_ENTERPRISE_INSPECTION_INSPECTION_ORDER_AUDIT_LIST','ROLE_ENTERPRISE_INSPECTION_PLANNER_LOG_LIST','ROLE_ENTERPRISE_INSPECTION_INS_APPLY_LIST','ROLE_ENTERPRISE_INSPECTION_INS_AUDIT_LIST'})">
            <li class="treeview">
                <a title="巡检管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw fa-wrench"></i> <span>巡检管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_PLANNER_ORDER_LIST'})">
                        <li class="treeview">
                            <a title="计划工单" data-href="<c:url value="/web/admin/plannerInspection/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>计划工单</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_PLANNER_LOG_LIST'})">
                        <li class="treeview">
                            <a title="计划操作日志" data-href="<c:url value="/web/admin/inspectionPlannerLog/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>计划操作日志</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INSPECTION_TECHNOLOGY_LIST'})">
                        <li class="treeview">
                            <a title="工艺管理" data-href="<c:url value="/web/admin/inspectionTechnology/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工艺管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INSPECTION_ORDER_LIST'})">
                        <li class="treeview">
                            <a title="工单管理" data-href="<c:url value="/web/admin/inspectionOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工单管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INSPECTION_ORDER_LOG_LIST'})">
                        <li class="treeview">
                            <a title="工单操作日志" data-href="<c:url value="/web/admin/inspectionLog/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>工单操作日志</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INSPECTION_ORDER_AUDIT_LIST'})">
                        <li class="treeview">
                            <a title="审批列表" data-href="<c:url value="/web/admin/inspectionOrder/auditList.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批列表</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INS_APPLY_LIST'})">
                        <li class="treeview">
                            <a title="申请记录" data-href="<c:url value="/web/admin/insApplyOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>申请记录</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_ENTERPRISE_INSPECTION_INS_AUDIT_LIST'})">
                        <li class="treeview">
                            <a title="审核记录" data-href="<c:url value="/web/admin/insAuditOrder/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>审批记录</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize access="hasAnyRole({'ROLE_ENTERPRISE_DICT_LIST','ROLE_ENTERPRISE_APP_MANAGER_LIST'})">
            <li class="treeview">
                <a title="系统设置" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw icon-settings"></i> <span>系统设置</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>

                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize access="hasAnyRole({'ROLE_ENTERPRISE_DICT_LIST'})">
                        <li class="treeview">
                            <a title="数据字典" data-href="<c:url value="/web/admin/dictInfo/list.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>数据字典</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize access="hasAnyRole({'ROLE_ENTERPRISE_APP_MANAGER_LIST'})">
                        <li class="treeview">
                            <a title="App版本管理"
                               data-href="<c:url value="/web/admin/appVersion/getAppVersionListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>App版本管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>


        <sec:authorize
                access="hasAnyRole({'ROLE_ENTERPRISE_PERIOD_INSTALL_LIST','ROLE_ENTERPRISE_PERIOD_INSTALL_EDIT'})">
            <li class="treeview">
                <a title="时间周期设置" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw fa-calendar-times-o"></i> <span>时间周期设置</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="treeview">
                        <a title="时间周期设置" data-href="<c:url value="/web/admin/manage/periodInstall/list.action" />"
                           href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>时间周期设置</span>
                        </a>
                    </li>
                </ul>
            </li>
        </sec:authorize>

        <sec:authorize
                access="hasAnyRole({'ROLE_WUHAN_POINT_LIST','ROLE_WUHAN_WARNINGGROUP_LIST','ROLE_WUHAN_UNIT_LIST','ROLE_WUHAN_AUTOMATIC_LIST'})">
            <li class="treeview">
                <a title="点位报警管理" href="javascript:;" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw  icon-location-pin"></i> <span>点位报警管理</span>
                    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <sec:authorize
                            access="hasAnyRole({'ROLE_WUHAN_POINT_LIST'})">
                        <li class="treeview">
                            <a title="点位管理" data-href="<c:url value="/web/wuhan/point/getPointListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>点位管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_WUHAN_WARNINGGROUP_LIST'})">
                        <li class="treeview">
                            <a title="报警组管理"
                               data-href="<c:url value="/web/wuhan/warningGroup/getWarningGroupListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>报警组管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_WUHAN_UNIT_LIST'})">
                        <li class="treeview">
                            <a title="设备管理"
                               data-href="<c:url value="/web/wuhan/unit/getWuHanUnitListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>设备管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_WUHAN_AUTOMATIC_LIST'})">
                        <li class="treeview">
                            <a title="自动抄表"
                               data-href="<c:url value="/web/wuhan/automatic/getAutomaticTableListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>自动抄表</span>
                            </a>
                        </li>
                    </sec:authorize>
                    <sec:authorize
                            access="hasAnyRole({'ROLE_WUHAN_AUTOMATIC_REPAIR_LIST'})">
                        <li class="treeview">
                            <a title="报修单管理"
                               data-href="<c:url value="/web/wuhan/automaticRepair/getAutomaticRepairListPage.action" />"
                               href="javascript:;" class="addTabPage"> <i class="fa"></i> <span>报修单管理</span>
                            </a>
                        </li>
                    </sec:authorize>
                </ul>
            </li>
        </sec:authorize>
    </ul>

    <div class="hide" id="desktopTabPage" data-title="报表"
         data-url="<c:url value="/web/admin/getDashBoard/getDashBoard.action" />"></div>
</section>
